﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Frogs.Stability.CircuitBreaker.Behaviors.Functions
{
	interface IFunctionCircuitBehavior
	{
		T DoFunction<T>(Func<T> func);

		CircuitState GetStatus();

		IObservable<ExecutionResult> ExecutionResult { get; }
	}
}
